package com.mysoft.main.main.web;

import org.springframework.stereotype.Component;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2019/12/30 10:42
 */
@Component
public class AlipayConfig {

    //↓↓↓↓↓↓↓↓↓↓请在这里配置您的基本信息↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

    // 应用ID,您的APPID，收款账号既是您的APPID对应支付宝账号
    public static String app_id = "2016102100730888";

    // 商户私钥，您的PKCS8格式RSA2私钥
    public static String merchant_private_key = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC5U8iuzl/maKgfQl2ERtghrMuXhw+/KGlgLjOwwdPICW1GRD19QIbb4XlY2HwTcNni4c/T4F3KMFkeEWVQCApZVr+ki60kIiu6b1Zh3SAotL9HYq7SZ59n+s+JBIEXAJ+B3KLzVBTlpB3mDG8FIzH9CifIOXn5Mkq87+hPGN2j73nkEIQ112h7elzwThd8Sohyu4xYrDUe87Q3dK0EIni9RwTmVIs+zC5hPgWGVsnoOdggPmlPbzEX9reWSD5RRBGcVdCJKzJceSPojsQMdVAWSUY0Xivj8cwAW51ADe/YML4KrxcCNoy47jf11FDN0XWmkbwuRStI9H39Dr4UD5KzAgMBAAECggEAPkqXDYp4WW2b9MXNwQQ+6TK3S7st48alhJqC7Up48Keafx+4uzzRF1719pLtQWuREN1tiX3EiI0vpxeZwgix0c2CpL/99kM2B3gcxNAaWxRFpqzYrgf+YGjBEQDekui2tGOAseD1FSrQkd5kAooN50tei8Il6UiqLk9E+jEVbmAhVNzswkxV259HxhQH6rFeQKSVvGOiSK0biPZmJCoDHlXkX/vinVav0GrW73QwnpWrnynoB76sCS6IwrT92PivEevwcOc06++g8+fItQh4P70Httz285QX/TiU4RB2VUy/a3u294YMGd35V48C9UesZeGb0yG7tfjQGtR3cw2cIQKBgQDfDSYuAuThQ016gTiwvKsLy0CtDdSqS+2A+2VBijAZl3PNt6cDu603F1Lb7/CFLCuIhy0AC+DQ7fNpA3Haw5Dl7QteLlmtxOB4bePJi10jKX1347pRQB+3yZFdwxWwVnUulCj8hKUxNax3s+V74hTKbXrG9lXmxPf0lzwq06IN1wKBgQDUtBIoF/j87FfMYjWL88/qJw1Gwm9trH6BEzkJFOI/z9wz0ELcDnjDmz0gE+BLTau7/oeim9lEgaf8O2BajxCncot0HIfor+b9KTcgqPdLdsyOWeIIGOJarAWWKnzJmNjWoXy7M9Qpokka41RINBXnLBjAQxLACHdgNwz7YvRuhQKBgCWvshC6GnPZDEEzjiGGbxv6Bn52xMTVOVa+oxgUwhXA2ica7ZQa5KRXQ3+3pZrKoLxbooXMe/qxCZxnoZgFzPicOXx7Nlm+1vJiFseZzW3Ad9uG1Zcez30dCHugF40IvpnVHKu1ubd7yx0afx6UT1D4eHMfcdog04g2+Up/IXVXAoGAALRL7xgNOgEqVUHp/XmkMZlJgPd52PoePR0sLiyEh0OP7hf9cK8XlUY5UJbgQj+Slv/DwTUU5hYr0Tj9G6+nlXZaodrKVGnosOPnC9OjZfuRt9LyXaZ/cV9qcVHYse4woZ1NRW1pgW3JIi6og8iwXeCWgGR4dmxQwN/NyjNMreUCgYEAsLCaNLn8qLz8iXq11HahMkwD3SjTkeusIr38W0UM8XBlxQdLcAHrd+6A8Swk2iycLZ/Eu2kWwd3vAbcCYkU1MVRPtUQQdwcJGQAFEQsxswjU6GHVImg1c5QAJFKJ9ChaNjzjlvLs0VvcbyvwVkywyCz0Anxts62/UNiqKU3uLgA=";

    // 支付宝公钥,查看地址：https://openhome.alipay.com/platform/keyManage.htm 对应APPID下的支付宝公钥。
    public static String alipay_public_key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAivuQfGhHnwV4jzTSmJfX8uZ4bSlZigkv9h+gOwcjuMS5N/Mc/12vDcvQ0J1wtwaFKaWyjQEJrPakRoLyJXYjx2QtkMX9NUZ6yboDxvU7gYFRYs28dZjWfdq1p7Q1PTXtirLVzxyLwl7a3sIOr5xEk+jEPeShRGYYYpuzjr5GYr7DIzZfc/5hFdmscHJXEwE7/CbQse4/Sd9t9NZruBIZnVLX3EsEYEWwbtCmjUazZLBa1PqD7Zx5tUZ/TDX7fR+SE5nQDfx4Bp5sv+/7Q44yi+bK3IZyf6k9+X1mYJ4wja6FIN6CJV/dv2bHiSUaaTVGWV4mMbGDrAa80gvEMixihQIDAQAB";

    // 服务器异步通知页面路径  需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String notify_url = "http://localhost:8088/ali/notifyUrl";

    // 页面跳转同步通知页面路径 需http://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
    public static String return_url = "http://localhost:8088/ali/returnUrl";

    // 签名方式
    public static String sign_type = "RSA2";

    // 字符编码格式
    public static String charset = "utf-8";

    // 支付宝网关
    public static String gatewayUrl = "https://openapi.alipaydev.com/gateway.do";

    // 支付宝网关
    public static String log_path = "D:\\";

}
